// 店铺租金相关类型定义

export interface ShopRentRecordVO {
  id: number
  shopId: number
  shopName: string
  shopCode: string
  ownerId: number
  ownerName: string
  ownerPhone: string
  rentAmount: number
  rentPeriod: string
  rentStartDate: string
  rentEndDate: string
  paymentDate?: string
  paymentStatus: number
  paymentStatusName: string
  paymentMethod?: string
  paymentMethodName?: string
  invoiceNumber?: string
  remark?: string
  createTime: string
  updateTime: string
}

export interface ShopVO {
  id: number
  shopName: string
  shopCode: string
  shopType: number
  shopTypeName: string
  communityId: number
  communityName: string
  buildingId?: number
  buildingName?: string
  unitId?: number
  unitName?: string
  roomNumber?: string
  floorNumber?: number
  area?: number
  rentPrice?: number
  contactPerson?: string
  contactPhone?: string
  businessLicense?: string
  status: number
  statusName: string
  remark?: string
  createTime: string
  updateTime: string
}

export interface ShopOwnerVO {
  id: number
  shopId: number
  shopName: string
  ownerName: string
  ownerType: number
  ownerTypeName: string
  idCard: string
  phone: string
  email?: string
  address?: string
  emergencyContact?: string
  emergencyPhone?: string
  startDate: string
  endDate?: string
  deposit: number
  status: number
  statusName: string
  remark?: string
  createTime: string
  updateTime: string
}

// 搜索表单类型
export interface ShopRentSearchForm {
  shopId?: number | null
  ownerId?: number | null
  paymentStatus?: number | null
  rentDateRange?: [string, string] | null
}

// 分页信息类型
export interface PaginationInfo {
  current: number
  size: number
  total: number
}
